import { Http } from '@/common/api'
// 列表
export const listUrl = '/srm/delivery/note/pageSupplier'

// 获取详情
export const apiGetDeliveryDetail = async (id) => Http.get(`/srm/delivery/note/detail/${id}`)

// 新建送货单
export const apiDeliveryNoteAdd = async (param) => Http.post('/srm/delivery/note/add', param)

// 修改送货单
export const apiDeliveryNoteUpdate = async (param) => Http.post('/srm/delivery/note/update', param)
// 取消送货单
export const apiDeliveryNoteCancle = async (param) => Http.put('/srm/delivery/note/cancel', param)
// 确认收货
export const apiDeliveryNoteReceive = async (param) => Http.post('/srm/delivery/note/receive', param)

// 采购弹窗
export const supplierPageDetail = '/srm/purchase/order/supplier/pageDetail'
